<include file="public@header"/>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInUp js-check-wrap">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>上传设置</h5>
                </div>
                <div class="ibox-content">
                     <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('storage/settingPost')}">
                      <div class="form-group">
                          <label for="input-type" class="col-sm-2 control-label">存储类型</label>
                          <div class="col-md-6 col-sm-10">
                              <select class="form-control" name="type" id="input-type">
                                  <foreach name="storages" item="vo">
                                      <php>$type_selected=isset($type)&&$type==$key?"selected":"";</php>
                                      <option value="{$key}" {$type_selected}>{$vo.name}</option>
                                  </foreach>
                              </select>
                          </div>
                      </div>
                      <div class="form-group">
                          <div class="col-sm-offset-2 col-sm-10">
                              <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">{:lang('SAVE')}</button>
                          </div>
                      </div>
                  </form>
            </div>
        </div>
    </div>
</div>
</div>
<script src="__STATIC__/js/admin.js"></script>

</body>
</html>